from web.page.page import WebPage
from web.page.page_element import PageElement
from web.locator.locator import registerLocator
class RegisterPage(WebPage):
    url = 'http://huicewang.com/ecshop/user.php?act=register'

    username = PageElement(**registerLocator.username_loc)
    email = PageElement(**registerLocator.email_loc)
    password1 = PageElement(**registerLocator.password1_loc)
    conformpassword = PageElement(**registerLocator.conformpassword_loc)
    MSN = PageElement(**registerLocator.MSN_loc)
    QQ = PageElement(**registerLocator.QQ_loc)
    officphone = PageElement(**registerLocator.OfficePhone_loc)
    familyphone = PageElement(**registerLocator.familyPhone_loc)
    mobilephone = PageElement(**registerLocator.MobilePhone_loc)
    question = PageElement(**registerLocator.question_loc)
    passwdanswer = PageElement(**registerLocator.passwdAnswer_loc)
    submit = PageElement(**registerLocator.Submit_loc)

    def input_registerInfo(self, *userinfomation):
        pass

